<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员登陆</title>
    <link rel="stylesheet" type="text/css" href="/Public/css/login.css"/>
    <script type="text/javascript" src="/Public/libs/js/jquery.js"></script>
    <script type="text/javascript" src="/Public/libs/js/framework.js"></script>
</head>

<body>


<div id="div1">
  
  <div id="div2">
   <div id="top">&nbsp; CRM后台登录</div>
   <div id="div3"></div>
      <div id="div4">
          <div id="div7"> 
             <ul id="name">
             <li class="name">用户名：</li>
             <li class="name">密码：</li><!--
             <li class="name">验证码：</li>
             --></ul>
          </div>
        <div id="div6">
          <form  method="post" action="">
         
             <ul>
                <li><a>
                 <input type="text" id="username" name="username" maxlength="30" size="30" class="ipt160" value=""/>
                </a></li>
                <li><a>
                <input type="password" id="password" name="password" maxlength="30" size="30" class="ipt160" value=""/>
                </a></li>
             </ul>
             <!--
              <input type="text" id="validcode" name="validcode" maxlength="4" size="6"/>
              <p id="img"> <img src="/index.php/Base/verify_code" alt="看不清？点击换一个" name="strValidCode" border="0" id="strValidCode"
                 onclick="this.src+='?rand='+Math.random();" style="cursor:pointer;"/></p>                       
              -->
              <input id="button" type="image" onclick="Login(this.form);" name="bntSubmit" id="bntSubmit"
                       src="__PUBLIC__/css/images/login/button.png" keepDefaultStyle="true"/>          
         </form>       
          </div>
          
      </div>
   <div id="div5"></div>
   <div id="bottom">易商网络科技有限公司</div>   
      </div>
       
   </div>

<script type="text/javascript" language="javascript"><!--
    $(document).ready(function () {
        $("#username").focus();
    });

    function Login(frm) {
        var patrn = /^[a-zA-Z0-9_\u4E00-\u9FA5]{4,20}$/;
        if (!patrn.test(frm.username.value.trim())) {
            alert("用户名不正确：\n\n它应该是由4-20位的中文、英文、数字及下划线组成的字符");
            frm.username.focus();
            return false;
        }
        var patrn = /^[a-zA-Z0-9_]{4,20}$/;
        if (!patrn.test(frm.password.value.trim())) {
            alert("密码不正确：\n\n它应该是由4-20位的英文、数字及下划线组成的字符");
            frm.password.focus();
            return false;
        }
        //if (frm.validcode.value.trim().length != 4) {
           // alert("验证码输错误，请重新输入。");
            //frm.validcode.focus();
           // return false;
        //}
        frm.bntSubmit.disabled = true;
        frm.submit();
    }
</script>


</body>
</html>